package com.sharemarking.wa.common.entity;



import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;

import static com.baomidou.mybatisplus.annotation.IdType.AUTO;


/**
 * Created by king on 2018/06/08.
 * tips:不要用int作为类型，int不能为空，需要用到int的实体类就用Integer
 */
public class BaseEntity {
    @TableId(type = AUTO)
    private Integer id;
    private String remarks;
    private Integer createBy;
    private Date createDate;
    private Integer updateBy;
    private Date updateDate;
    private Integer delFlag;

    public BaseEntity(){}

    public BaseEntity(Integer id){
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }
}
